﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _5._25
{
    class DUCK : animal, IYOU, ICHI
    {
        public DUCK(string name):base(name) {
        }
        public void CHI()
        {
            Console.WriteLine("{0}会游泳", this.name);
        }

        public void YOU()
        {
            Console.WriteLine("{0}会吃", this.name);
        }
    }
}
